﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace filmquiz.Src.Domain
{
    public class WrongAnswer : IComparable
    {
        public string answer { get; set; }
        public int count { get; set; }

        public WrongAnswer(String answer)
        {
            this.answer = answer;
            count = 1;
        }

        int IComparable.CompareTo(Object obj)
        {
            return ((WrongAnswer)obj).count - count;
        }

    }
}